package basic;

/**
 * @Author: 海琳琦
 * @Date: 2021/9/8 16:42
 */
public class Title292 {
    public static void main(String[] args) {
        System.out.println(canWinNim(4));
    }

    private static boolean canWinNim(int n) {
        if(n==1||n==2||n==3){
            return true;
        }
        return canWinNim(n-1)||canWinNim(n-2)||canWinNim(n-3);



    }
}
